Label rotated objects with oriented boxes
A normal box is always upright, so around a tilted object it takes in a lot of background. An oriented box turns with the object. In this guide you create an object detection dataset with oriented boxes and draw them around tilted objects.
What you will learn
- When oriented boxes are better than normal ones
- How to create a dataset with oriented boxes
- How to draw an oriented box with three clicks
1. Create an object detection dataset
In «Datasets», click «New dataset», type a name and choose «Object detection». Click «Create».

2. Choose oriented boxes
The platform asks which kind of box the dataset holds. Choose «Oriented bounding box» and click «Create». The choice is made once, for the whole dataset: a dataset of normal boxes cannot hold oriented ones.
3. Add the images and a tag
Open the dataset, upload the images in the «Upload» tab and create the tags in the «Tags» tab, as in any other dataset.
4. Open an image
Click «Labeling» and click an image to open it in the editor.
5. Choose the box tool
Choose «Draw Bounding Box» in the toolbar. The «Available tags» card next to it shows the tag the next box gets.
6. Draw an oriented box
An oriented box takes three clicks. Click two corners of one side of the object: they set the angle of the box. Then click on the opposite side to set how far the box reaches. Esc cancels a box you have started.

7. Box every object
Draw a box around every object of the image. The boxes follow the objects and leave out almost all the background, which helps the model when objects lie close together or in any direction.

8. Check the boxes
The «Labels» panel lists every box with its tag. To move a box, resize it or turn it, choose «Move Bounding Box» and drag the box or its handles.

Next steps
- Label objects with bounding boxes for upright boxes
- Choose the right dataset type
Recorded on Rosepetal release 1.8.15.